<?php
namespace App\Models;


//逻辑处理
class SuggestionModel extends BaseModel{
    protected $table='suggestion';

    protected $primaryKey='id';

    public $timestamps = false;

    public function users(){
        return $this->belongsTo(UserModel::class,'phone','phone');
    }
}
